package com.palace.saw.module.app.enums;

import com.palace.saw.framework.common.exception.ErrorCode;

/**
 * App 错误码枚举类
 * app 系统，使用 1-001-000-000 段
 */
public interface ErrorCodeConstants {
    ErrorCode ARTICLE_NOT_EXISTS = new ErrorCode(1_001_000_001, "文章不存在");
    ErrorCode BANNER_NOT_EXISTS = new ErrorCode(1_001_000_002, "Banner不存在");
    ErrorCode CONFIG_DATA_NOT_EXISTS = new ErrorCode(1_001_000_003, "配置数据不存在");
    ErrorCode CONFIG_TYPE_NOT_EXISTS = new ErrorCode(1_001_000_004, "配置类型不存在");
    ErrorCode ARTICLE_CATEGORY_NOT_EXISTS = new ErrorCode(1_001_000_005, "文章类型不存在");
}
